<!-- 市区町村 -->
市区町村名<span>（必須）</span>
<select name="CityCd[]" id="CityCd">
{if $cityData == null}
<option value="00" selected>都道府県を選択してください。</option>
{else}
<option value="00" {if $CityCd.00 == 'on'}selected{/if}>市区町村を選択してください。</option>

{foreach from=$cityData item=cityPref}
{foreach from=$cityPref.SITEITOSI_DATA item=citySitei name=siteiLoop}
	<option value="00" disabled style="background-color:#eeeeee;">{$citySitei.SITEITOSI_NAME}</option>
	{foreach from=$citySitei.SITEI_SIKU_DATA item=sitei}
		{assign var="city_cd" value=$sitei.SHIKUCHOUSON_CD}
		<option value="{$city_cd}" {if $CityCd.$city_cd == 'on'}selected{/if}>{$sitei.SHIKUCHOUSON}</option>
	{/foreach}
	{if $smarty.foreach.siteiLoop.last}<option value="00" disabled style="background-color:#eeeeee;">市部</option>{/if}
{/foreach}
{foreach from=$cityPref.SHIKUCHOUSON_DATA item=city name=cityLoop}
	{assign var="city_cd" value=$city.SHIKUCHOUSON_CD}
	<option value="{$city_cd}" {if $CityCd.$city_cd == 'on'}selected{/if}>{$city.SHIKUCHOUSON}</option>
{/foreach}
{/foreach}

{/if}
</select>
<!-- /市区町村 -->
